﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DotNetX
{
    /// <summary>
    /// This provides the interface for the translation datasources etc...
    /// </summary>
    public interface ITranslation
    {
        /// <summary>
        /// This returns the translated text for the passed key
        /// </summary>
        /// <param name="targetLanguage">The language to get the translation for</param>
        /// <param name="key">The key of the translation to get</param>
        /// <returns>The translated text, else string.Empty</returns>
        string GetTranslatedText(Language targetLanguage, string key);
    }
}
